@keyframes zoomout {
    0% {
        opacity: 0;
        transform: scale(0.2)
    }
    50% {
        opacity: 1;
        transform: scale(1.1)
    }
    100% {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes zoomin {
    0% {
        opacity: 1;
        transform: scale(1)
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1)
    }
    100% {
        opacity: 0;
        transform: scale(0)
    }
}

@keyframes noter {
    0% {
        opacity: 1;
        transform: scale(1)
    }
    100% {
        opacity: 0;
        transform: scale(1)
    }
}

@keyframes loading-dots-middle-dots {
    100% {
        transform: translate(20px)
    }
}

@keyframes loading-dots-last-dot {
    100% {
        transform: translate(30px);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0)
    }
}

@keyframes loading-dots-first-dot {
    100% {
        transform: translate(20px);
        opacity: 1;
        -ms-filter: none;
        filter: none
    }
}

@keyframes loading-dots-fadein {
    100% {
        opacity: 1;
        -ms-filter: none;
        filter: none
    }
}

@keyframes floatup {
    20% {
        opacity: .999
    }
    100% {
        transform: translate3d(-50%, -17px, 0)
    }
}

@keyframes showdown {
    0% {
        opacity: 0;
        top: -200px
    }
    100% {
        opacity: 1;
        top: 0px
    }
}

@keyframes showup {
    0% {
        opacity: 1;
        top: 0px
    }
    100% {
        opacity: 0;
        top: -200px
    }
}

@keyframes rightin {
    0% {
        opacity: 0;
        right: -300px
    }
    100% {
        opacity: 1;
        right: 0px
    }
}

@keyframes rightout {
    0% {
        opacity: 1;
        right: 0px
    }
    100% {
        opacity: 0;
        right: -300px
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }
    100% {
        transform: rotate(359deg)
    }
}

@keyframes dm-fadeIn {
    0% {
        bottom: -100%
    }
    100% {
        bottom: 200%
    }
}

.content {
    padding-bottom: 80px !important
}

.topics {
    width: 720px
}

.topics .topic-item {
    float: left;
    width: 220px;
    height: 220px;
    border: 1px solid #dcdcdc;
    margin-top: 30px;
    margin-right: 20px;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
    z-index: 500;
    overflow: hidden
}

.topics .topic-item:hover .hover-bg {
    background: rgba(0, 0, 0, 0.5);
    transform: translateX(0)
}

.topics .topic-item .hover-bg {
    width: 58px;
    height: 100%;
    -ms-flex-pack: center;
    justify-content: center;
    transition: transform 0.2s;
    transform: translateX(60px);
    position: absolute;
    top: 0;
    right: 0
}

.topics .topic-item .hover-bg .control-btn {
    height: 42px;
    line-height: 42px;
    text-align: center;
    cursor: pointer
}

.topics .topic-item .hover-bg .control-btn:hover {
    background: #53a5eb
}

.topics .topic-item .hover-bg .control-btn:hover.edit i {
    color: #fff;
    background-image: url("../img/edit2-hover.png")
}

.topics .topic-item .hover-bg .control-btn:hover.delete i {
    color: #fff;
    background-image: url("../img/delete-hover.png")
}

.topics .topic-item .hover-bg i {
    display: inline-block;
    width: 16px;
    height: 16px
}

.topics .topic-item .hover-bg .edit i {
    background: url("../img/edit2.png") no-repeat center center
}

.topics .topic-item .hover-bg .delete i {
    background: url("../img/delete.png") no-repeat center center
}

.topics .topic-img {
    width: 200px;
    height: 110px;
    overflow: hidden;
    box-sizing: border-box
}

.topics .topic-title {
    padding-top: 20px;
    font-size: 16px;
    line-height: 24px;
    color: #616366
}

#vote-edit {
    visibility: hidden;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -240px;
    margin-top: -220px;
    border: 1px solid #dcdcdc;
    width: 480px;
    background: #fff;
    animation: zoomin 0.5s ease-in forwards;
    z-index: 11000
}

#vote-edit .newvote-header {
    font-size: 16px;
    padding: 11px 20px 0 20px
}

#vote-edit .newvote-header .header-text {
    line-height: 40px
}

#vote-edit .newvote-header .newvote-content {
    font-size: 12px;
    position: relative
}

#vote-edit .newvote-header .newvote-content .img {
    display: table;
    width: 440px;
    height: 250px;
    text-align: center
}

#vote-edit .newvote-header .newvote-content .img .upload-image {
    margin-top: 18px;
    background: url("../img/bg-img.png") left top no-repeat;
    cursor: pointer;
    border: 1px solid #dcdcdc;
    display: table-cell;
    vertical-align: middle
}

#vote-edit .newvote-header .newvote-content .img .upload-image img:hover {
    box-shadow: 0 0 5px #ccc
}

#vote-edit .newvote-header .newvote-content .vote-describe {
    line-height: 60px;
    height: 60px;
    position: relative;
    font-size: 16px
}

#vote-edit .newvote-header .newvote-content .vote-describe span {
    float: left;
    padding-right: 15px
}

#vote-edit .newvote-header .newvote-content .vote-describe input {
    border: 1px solid #dcdcdc;
    width: 360px;
    height: 30px;
    padding-left: 6px;
    box-sizing: border-box
}

#vote-edit .newvote-footer {
    position: relative;
    width: 100%;
    bottom: 0;
    height: 50px;
    line-height: 45px;
    text-align: center;
    background-color: #fbfbfb;
    border-top: 1px solid #dcdcdc
}

#vote-edit .newvote-footer .btn {
    margin-right: 12px;
    width: 80px;
    height: 33px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #dcdcdc
}

#vote-edit .newvote-footer .btn-primary {
    background: #53a5eb;
    color: #fff;
    border: 1px solid #53a5eb
}

#vote-edit .newvote-footer .btn-primary:hover {
    background: #4f9ddf
}

#vote-edit .newvote-footer .btn-default {
    background: #fff;
    color: #626262
}

#vote-edit .newvote-footer .btn-default:hover {
    background: #eee
}

#vote-edit.on {
    animation: zoomout 0.5s ease-out forwards
}

.webuploader-container {
    position: relative
}

.webuploader-element-invisible {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px)
}

#filePicker, .webuploader-pick {
    float: right;
    display: inline-block;
    cursor: pointer;
    background: #53a5eb;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    overflow: hidden;
    width: 80px;
    height: 32px;
    line-height: 32px;
    font-size: 14px
}

.webuploader-pick-hover {
    background: #4f9ddf
}

.webuploader-pick-disable {
    opacity: 0.6;
    pointer-events: none
}

#mask {
    display: none;
    background: #000;
    filter: alpha(opacity=40);
    opacity: 0.4;
    left: 0px;
    top: 0px;
    position: fixed;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 10000
}
